YAYDP\API\Controllers\YAYDP_REST_PAGE_DATA_V1_CONTROLLER A

Total Complexity 57
Dependencies 8
Dependents 0
Total lines 446
Lines of code 325
Logical lines of code 99
Comment lines 92
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
register_routes()
A
36 1 128
get_removing_rules()
A
54 8 20
get_custom_filter()
S
59 5 13
save_page_data()
S
50 3 31
get_categories()
S
60 4 12
get_coupons()
S
60 4 12
get_products()
S
60 4 12
get_variations()
S
60 4 12
get_tags()
S
60 4 12
get_customer_roles()
S
60 4 12
get_customers()
S
60 4 12
get_shipping_regions()
S
60 4 12
get_payment_methods()
S
60 4 12
get_page_data()
S
61 1 13
__construct()
S
98 1 1
save_removing_rules()
S
65 1 8
permission_callback()
S
82 1 3